package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 违纪申请VO
 */
@TableName("t_violative_apply")
@Api(tags = "违纪申请VO")
@Data
public class ViolativeApplyVO extends BaseVO {

    private static final long serialVersionUID = 4651988233540408675L;

    @ApiModelProperty(value = "申请单编号")
    private String applyNo;

    @ApiModelProperty(value = "流程ID")
    private String processId;

    @ApiModelProperty(value = "违纪人姓名")
    private String violativeName;

    @ApiModelProperty(value = "违纪人ID")
    private String studentId;

    @ApiModelProperty(value = "违纪人班级")
    private String violativeClass;

    @ApiModelProperty(value = "违纪人班主任")
    private String classTeacherId;

    @ApiModelProperty(value = "违纪等级")
    private String violativeLevel;

    @ApiModelProperty(value = "违纪时间")
    private String violativeTime;

    @ApiModelProperty(value = "违纪标签")
    private String violativeTag;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "文件分类文件逗号‘，’分割")
    private String fileName;

    @ApiModelProperty(value = "文件路径多文件逗号‘，’分割")
    private String filePath;

    @ApiModelProperty(value = "申请单状态 0-草稿 1-处理中 2-审批驳回 3-正常结束 4-撤回")
    private String applyStatus;

    @ApiModelProperty(value = "班级名称")
    private String violativeClassName;

    @ApiModelProperty(value = "通知ID")
    private Integer noticeId;

    @TableField(exist = false)
    private String title;

    @TableField(exist = false)
    private Integer noticeType;

    @TableField(exist = false)
    private String releaseScopeNotice;

    @TableField(exist = false)
    private List<String> classIds;

    @TableField(exist = false)
    private String grade;

    @TableField(exist = false)
    private String isNoticeStudent;

    @TableField(exist = false)
    private String noticeContent;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private String ids;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
